package com.kinderas.numbers
{
	/**
	 * The NumberUtil class formats and does calculations on numbers 
	 * @author jorn.kinderas
	 * 
	 */	
	public class NumberUtil
	{
		/**
		 * Adds a leading zero to a int
		 * @param str
		 * @return string representation of the parameter
		 * 
		 */		
		public static function addLeadingZero(num:int):String
		{
			if(num < 10){
				return "0"+num.toString();
			}
			return num.toString();
		}

	}
}